// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__33B79F58_355D_11D3_9922_00500487D199__INCLUDED_)
#define AFX_MAINFRM_H__33B79F58_355D_11D3_9922_00500487D199__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#define CFrameWnd		CCJFrameWnd
#define CToolBar		CCJToolBar
#define CToolBarCtrl	CCJToolBarCtrl

class COutlookUIDemoView;
class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:

	CCJMenuBar			m_wndMenuBar;			 // menu bar
	CCJFlatComboBox*	m_pComboBox;
	BOOL				m_bPreview;

	enum { FOLDER_0, FOLDER_1 };
	enum { CMD_00, CMD_01, CMD_02, CMD_03, CMD_04, CMD_05, CMD_06, CMD_07 };

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

// Implementation
public:
	COutlookUIDemoView* GetMainView();
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar			m_wndStatusBar;
	CToolBar			m_wndToolBar;
	CGfxSplitterWnd		m_wndSplitter;
	CGfxOutBarCtrl		m_wndOutlookBar;
	CImageList			m_ImageLarge, m_ImageSmall;

// Generated message map functions
protected:
	
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnPreviewPane();
	afx_msg void OnUpdatePreviewPane(CCmdUI* pCmdUI);
	//}}AFX_MSG
	afx_msg void OnGfxLargeicon();
	afx_msg void OnUpdateGfxLargeicon(CCmdUI* pCmdUI);
	afx_msg void OnGfxSmallicon();
	afx_msg void OnUpdateGfxSmallicon(CCmdUI* pCmdUI);
	afx_msg long OnOutbarNotify(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__33B79F58_355D_11D3_9922_00500487D199__INCLUDED_)
